package net.retorx

import java.io.File
import util.IDGenerator
import com.fasterxml.jackson.annotation.JsonIgnore


case class ImageFile(width: Int,
				height: Int,
				file: File,
				thumb: File,
				grayscaleThumb: File) {

	def getId = IDGenerator.generateId(getName)
	def getName = file.getName
	def getHeight = height
	def getWidth = width

	@JsonIgnore
	def getFile = file
	
	@JsonIgnore
	def getThumb = thumb

	@JsonIgnore
	def getGrayscaleThumb = grayscaleThumb
}
